<%= render :partial=>'cabecalho', :locals=>{:conteudo=>@conteudo} %>


<% form_for(@conteudo,:html=>{:multipart => true}) do |f| %>

  <div style='background-color:ccd;padding:5px;' align=right>
    <img src='/images/icones_conteudo/salvar.png'>
    <%= f.submit 'Salvar' %>
  </div>

  <label for="conteudo_nome">Nome</label>
  <br/>
  <%= f.text_field 'nome' %>
  <br/>
  <label for="descricao">Descricao</label>
  <br/>
  <%= f.text_area 'descricao',:rows=>3,:cols=>30  %>
  <br/><br/>
  <hr/>
  
  <%= render :partial=>( 'editar_'<<Inflector.underscore(@conteudo.config_conteudo.classe) ), 
             :locals=>{:conteudo=>@conteudo,:extra=>@conteudo.extra} %>

<hr/>
<% end #form%>
<%= render :partial=>'rodape', :locals=>{:conteudo=>@conteudo} %>